import 'package:flutter2/generated/json/base/json_convert_content.dart';
import 'package:flutter2/model/pay_url_entity.dart';

PayUrlEntity $PayUrlEntityFromJson(Map<String, dynamic> json) {
  final PayUrlEntity payUrlEntity = PayUrlEntity();
  final String? url = jsonConvert.convert<String>(json['mosquitobeehiveabandon']);
  if (url != null) {
    payUrlEntity.url = url;
  }
  return payUrlEntity;
}

Map<String, dynamic> $PayUrlEntityToJson(PayUrlEntity entity) {
  final Map<String, dynamic> data = <String, dynamic>{};
  data['mosquitobeehiveabandon'] = entity.url;
  return data;
}

extension PayUrlEntityExtension on PayUrlEntity {
  PayUrlEntity copyWith({
    String? url,
  }) {
    return PayUrlEntity()..url = url ?? this.url;
  }
}